package prom

import "os"

var CLI *cli

type cli struct {
	url string
}

func Install() error {
	url := "http://39.101.140.145:30009/api/v1/query"

	mode := os.Getenv("MODE")
	if mode == "prod" {
		url = os.Getenv("PROM_URL")
	}

	CLI = &cli{
		url: url,
	}
	return nil
}
